home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_91.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  122KB  |  816x1056  |  16-bit (549 colors)
Labels: book | poster | reckoner | sky | window | windowpane
OCR: piracticapExample. Beginners Guide To Macintosh Assembly Language Programming Rage In this section we'll dissect the "PPC GRAPH DEMO" program. The main aim of this example is to show just how a PowerPC program IS structured We have source files, globally included file (the BSS offsets) and a Build Control File. The two source files are simply the main source file "PPC graph demo. and the initialisation 'graph demo init The aim is to open window use QuickDraw to some nice shapes and then quit. The first thing we op 1S equate some registers to names, so as to make the code more readable: param1: reg *Set up the names of the regs pasn for parameter passing param2 reg param3 reg param4: reg bss reg r30 *The register we use for global data These registers are used as parameter holders during sy ...